/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.brain.clima.manager;

import com.brain.clima.dto.OpcionDto;
import com.brain.core.exception.DAOException;
import com.brain.core.hibernate.dao.DAOGenerico;
import com.brain.core.manager.ComunManager;
import java.io.Serializable;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;
/**
 *
 * @author Cmontes
 */
@Service
public class OpcionRespuestaManager extends ComunManager<OpcionDto> implements Serializable {

    @Resource
    private DAOGenerico<OpcionDto> springHibernateDao;
    private static Logger logger = Logger.getLogger(OpcionRespuestaManager.class);
    
    
    public OpcionDto obtenerPorId(Long id) throws DAOException {
       return springHibernateDao.obtenerDtoPorId(OpcionDto.class, id);
    }
}
